Fix code column width
authorJustin Burkett <justin@burkett.cc>
Sun, 2 Jan 2022 04:25:59 +0000 (23:25 -0500)
committerJustin Burkett <justin@burkett.cc>
Sun, 2 Jan 2022 04:25:59 +0000 (23:25 -0500)
which-key.el

index a499e2a88332b8c2c12de892969480521e40e8b9..644d755c13c2032daa2962f37b53fc8b61cf0eae 100644 (file)
@@ -1862,7 +1862,8 @@ that width."
   (let* ((col-key-width  (+ which-key-add-column-padding
                             (which-key--max-len col-keys 0)))
          (col-sep-width  (which-key--max-len col-keys 1))
-         (col-desc-width (which-key--max-len col-keys 2 which-key-min-column-description-width))
+         (col-desc-width (which-key--max-len
+                          col-keys 2 which-key-min-column-description-width))
          (col-width      (+ 1 col-key-width col-sep-width col-desc-width)))
     (cons col-width
           (mapcar (lambda (k)